package com.kgc.scd.util;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created On : 2022/10/19 0019.
 * <p>
 * Author : shiguangchuan
 * <p>
 * Description: 返回json格式的属性定义
 */
@Data
@ApiModel(value = "返回json格式的属性定义")
public class RequestResult<T> {

    /**
     * 状态码
     */
    @ApiModelProperty(value = "状态码",name = "code")
    private String code;

    /**
     * 状态说明
     */
    @ApiModelProperty(value = "状态说明")
    private String msg;

    /**
     * 接口数据返回
     */
    @ApiModelProperty(value = "接口数据返回")
    private T data;

}
